<template>
	<view class="box" :style="{'padding-top':systemHeight+28.5+'px'}">
		<view class="head">
			<image class="back" src="/static/img/back.png" @click="back"></image>
			<view class="title">Customer Service</view>
			<view class="right"></view>
		</view>
		<image class="bg" src="/static/img/bg_7.png"></image>
		<view class="help_title">HI’How can I help you</view>
		<view class="help_title_text">We strive to serve you to the best of our ability</view>
		<view class="phone">
			<image class="avatar" src="/static/img/serve.png"></image>
			<view>
				<view class="phone_text">Phone</view>
				<view>65465413563786</view>
			</view>
			<image class="phone_img" src="/static/img/phone.png"></image>
		</view>
		<view class="code">
			Whatsapp
			<image class="code_img" src="/static/img/bg.png"></image>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				systemHeight: null,
			}
		},
		created() {
			this.systemHeight = uni.getSystemInfoSync().statusBarHeight
		},
		methods: {
			back() {
				uni.navigateBack()
			}
		}
	}
</script>

<style>
	.box {
		position: fixed;
		width: 100%;
		height: 100vh;
	}

	.head {
		margin: 0rpx auto 112rpx;
		width: 92%;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.back {
		width: 20rpx;
		height: 36rpx;
	}

	.title {
		font-family: Mont;
		font-weight: bold;
		font-size: 32rpx;
	}

	.right {
		width: 20rpx;
	}

	.bg {
		position: absolute;
		z-index: -1;
		top: 0;
		left: 0;
		width: 100%;
		height: 529rpx;
	}

	.help_title {
		width: 92%;
		margin: 0rpx auto 23rpx;
		font-family: Mont;
		font-weight: bold;
		font-size: 32rpx;
		color: #000000;
	}

	.help_title_text {
		margin-left: 36rpx;
		width: 344rpx;
		font-family: Mont;
		font-weight: 500;
		font-size: 24rpx;
		line-height: 36rpx;
		margin-bottom: 69rpx;
	}

	.phone {
		position: relative;
		display: flex;
		align-items: center;
		width: 92%;
		margin: 0rpx auto 40rpx;
		height: 160rpx;
		background: #FFFFFF;
		box-shadow: -10rpx -1rpx 50rpx 0rpx rgba(55, 55, 55, 0.08);
		border-radius: 30rpx;
		font-family: Mont;
		font-weight: bold;
		font-size: 28rpx;
	}

	.avatar {
		flex-shrink: 0;
		width: 74rpx;
		height: 74rpx;
		margin-right: 65rpx;
		margin-left: 28rpx;
	}

	.phone_text {
		margin-bottom: 20rpx;
	}

	.phone_img {
		position: absolute;
		top: 50%;
		right: 71rpx;
		transform: translate(0, -50%);
		width: 66rpx;
		height: 66rpx;
	}
	.code{
		margin: 0rpx auto;
		width: 92%;
		background: #FFFFFF;
		box-shadow: -10rpx -1rpx 50rpx 0rpx rgba(55,55,55,0.08);
		border-radius: 30rpx;
		display: flex;
		flex-direction: column;
		align-items: center;
		font-family: Mont;
		font-weight: bold;
		font-size: 36rpx;
		padding-top: 60rpx;
	}
	.code_img{
		margin-top: 37rpx;
		width: 427rpx;
		height: 427rpx;
	}
</style>